OfflineAudioContext

The OfflineAudioContext renders an audio graph to a buffer as fast as it can. We provide three examples of using the OfflineAudioContext;
  1. OfflineContext: rendering to a buffer much faster than real-time
  2. OfflineContext2: recording the output of an offline audio graph without needing an additional online audio context, and
  3. OfflineContext3: providing a progress bar for rendering by suspending and resuming the offline context. This last example is especially useful for highly computational tasks where processing is much slower than real-time.
Code examples correspond to examples from Chapter 09 the book 'Working with the Web Audio API'. Feel free to contact me at joshua.reiss@qmul.ac.uk